package com.gdkj.entity.game;

import java.io.Serializable;

import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Table;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Description  
 * @Author  zhangwen
 * @Date 2022-05-20 
 */

@Data
@Table(name="cmf_game_draw_ready")
public class CmfGameDrawReady  implements Serializable {

	private static final long serialVersionUID =  279394233689899490L;

	@ApiModelProperty(value ="房间id")
	@Id
	private Long showId;
	
	@ApiModelProperty(value ="房间id")
	private Long liveUid;

	@ApiModelProperty(value ="麦上至少有4人，准备到期时间，10s，3s")
	private Date readyEndTime;

	@ApiModelProperty(value ="游戏开始时间")
	private Date gameStartTime;

	@ApiModelProperty(value ="消息队列id")
	private String msgId;

	@ApiModelProperty(value ="游戏进程 1 等待阶段(麦上小于4) 2 准备 3 选词 4 绘画 5 答案展示")
	private Integer stepType;

	@ApiModelProperty(value ="正在进行的游戏轮数")
	private Integer roundNum;

	@ApiModelProperty(value ="准备人数")
	private Integer readyNum;
	
	@ApiModelProperty(value = "直播间流")
	private String stream;

	@ApiModelProperty(value ="本轮画画结束时间")
	private Date drawEndTime;

	@ApiModelProperty(value ="本轮选词结束时间")
	private Date chooseEndTime;

	@ApiModelProperty(value ="本轮展示答案结束时间")
	private Date showEndTime;
	
	@ApiModelProperty(value = "本轮答案")
	private String word;

	@ApiModelProperty(value = "本轮答案类型")
	private String wordType;


	@ApiModelProperty("im分组id")
	private String groupId;
	
	@ApiModelProperty(value = "离线、退出游戏人数")
	private int outNum;
	
	@ApiModelProperty(value = "麦位号")
	private Integer mikeNumber;
	
	@ApiModelProperty(value = "正在画画的玩家")
	private Long uid;
	
	@ApiModelProperty(value = "换词次数")
	private Integer changeWordTimes;
	
	@ApiModelProperty(value = "本轮选词json")
	private String words;

	@ApiModelProperty(value = "预扣金")
	private Integer deduct;
}
